package com.gobo.jinghuimall.orders.feign;

import com.gobo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient("jinghuimall-product")
public interface ProductFeignService {

    /**
     * 根据skuId查询spu的信息
     * @param skuId
     * @return
     */
    @GetMapping(value = "/product/spuinfo/skuinfo/{skuId}")
    public R getSpuInfoBySkuId(@PathVariable("skuId") Long skuId);

}
